<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:80:"D:\phpStudy\WWW\qybaowap\public/../application/index\view\user\buyeraddress.html";i:1513925500;}*/ ?>
<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <script src="__STATIC__/js/base.js"></script>
    <title>关于我们</title>
    <link rel="stylesheet" href="__STATIC__/css/base.css">
    <link rel="stylesheet" href="__STATIC__/css/userinfo.css">
    <script src="__STATIC__/js/jquery-1.11.1.min.js"></script>
</head>
<body class="">
<section >
    <ul class="buyer_address-list wrap">
        <li id="111">
            <div class="buyer_address-info clearfix">
                <div class="pull-left buyer_address-img"><img src="__STATIC__/images/buyer_address.png"></div>
                <div  class="pull-left buyer_address-ins">
                    <span>无小怪 132****1542</span>
                    <span>地址：北京市丰台区首科大厦123室</span>
                </div>
            </div>
            <div class="buyer_address-other  clearfix">
                <div class=" pull-left buyer_address-status clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/default-address.png"></span>
                    <span class="pull-left defult-address">默认</span>
                </div>
                <div class="buyer_address-status-change pull-left clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/edit.png"> </span>
                    <span class="pull-left ">编辑</span>
                </div>
                <div class="pull-left clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/delete.png"></span>
                    <span class="pull-left">删除</span>
                </div>
            </div>
            <div class="bar_20"></div>
        </li>
        <li id="222">
            <div class="buyer_address-info clearfix">
                <div class="pull-left buyer_address-img"><img src="__STATIC__/images/buyer_address.png"></div>
                <div  class="pull-left buyer_address-ins">
                    <span>无小怪 132****1542</span>
                    <span>地址：北京市丰台区首科大厦123室</span>
                </div>
            </div>
            <div class="buyer_address-other  clearfix">
                <div class=" pull-left buyer_address-status clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/address-status.png"></span>
                    <span class="pull-left ">设为默认</span>
                </div>
                <div class="buyer_address-status-change pull-left clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/edit.png"> </span>
                    <span class="pull-left ">编辑</span>
                </div>
                <div class="pull-left clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/delete.png"></span>
                    <span class="pull-left">删除</span>
                </div>
            </div>
            <div class="bar_20"></div>
        </li>
        <li id="333">
            <div class="buyer_address-info clearfix">
                <div class="pull-left buyer_address-img"><img src="__STATIC__/images/buyer_address.png"></div>
                <div  class="pull-left buyer_address-ins">
                    <span>无小怪 132****1542</span>
                    <span>地址：北京市丰台区首科大厦123室</span>
                </div>
            </div>
            <div class="buyer_address-other  clearfix">
                <div class=" pull-left buyer_address-status clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/address-status.png"></span>
                    <span class="pull-left ">设为默认</span>
                </div>
                <div class="buyer_address-status-change pull-left clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/edit.png"> </span>
                    <span class="pull-left ">编辑</span>
                </div>
                <div class="pull-left clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/delete.png"></span>
                    <span class="pull-left">删除</span>
                </div>
            </div>
            <div class="bar_20"></div>
        </li>
        <li id="444">
            <div class="buyer_address-info clearfix">
                <div class="pull-left buyer_address-img"><img src="__STATIC__/images/buyer_address.png"></div>
                <div  class="pull-left buyer_address-ins">
                    <span>无小怪 132****1542</span>
                    <span>地址：北京市丰台区首科大厦123室</span>
                </div>
            </div>
            <div class="buyer_address-other  clearfix">
                <div class=" pull-left buyer_address-status clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/address-status.png"></span>
                    <span class="pull-left ">设为默认</span>
                </div>
                <div class="buyer_address-status-change pull-left clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/edit.png"> </span>
                    <span class="pull-left ">编辑</span>
                </div>
                <div class="pull-left clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/delete.png"></span>
                    <span class="pull-left">删除</span>
                </div>
            </div>
            <div class="bar_20"></div>
        </li>
        <li id="555">
            <div class="buyer_address-info clearfix">
                <div class="pull-left buyer_address-img"><img src="__STATIC__/images/buyer_address.png"></div>
                <div  class="pull-left buyer_address-ins">
                    <span>无小怪 132****1542</span>
                    <span>地址：北京市丰台区首科大厦123室</span>
                </div>
            </div>
            <div class="buyer_address-other  clearfix">
                <div class=" pull-left buyer_address-status clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/address-status.png"></span>
                    <span class="pull-left ">设为默认</span>
                </div>
                <div class="buyer_address-status-change pull-left clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/edit.png"> </span>
                    <span class="pull-left ">编辑</span>
                </div>
                <div class="pull-left clearfix">
                    <span class="pull-left"><img src="__STATIC__/images/delete.png"></span>
                    <span class="pull-left">删除</span>
                </div>
            </div>
            <div class="bar_20"></div>
        </li>
    </ul>
    <script>
        $(function(){
            $('.buyer_address-list .buyer_address-info').on('click',function(){
                var url=document.referrer;
                //从订单确认面过来的则是选择收货地址，跳回订单确认页面
                var sear=new RegExp('/confirm.html');
                if(sear.test(url)){
                    var id = $(this).parent().attr('id');
                    window.location.href= '/confirm.html?addressId='+id;
                }
            });
        });
    </script>
    <a class="add-address"  href="/editshippingaddress.html">添加买家信息</a>
</section>
</body>
</html>